<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src="//cdn.66173.cn/www/js/jquery-1.8.3.min.js"></script>
<style>
    .p{
        width: 100%;height: 200px;font-size: 40px;color: red;
    }
</style>
<body>
<p class="p" >传过来的参数是: <span class="url_pra"></span></p>
<img src="" class="img" alt="">
</body>
<script type="text/javascript"  src="getUrlParam.js"></script>
<script type="text/javascript">
    $(window).ready(function () {
        var name=UrlParm.parm("name");
        var tupian=UrlParm.parm("src");
        console.log(tupian)
        console.log(name)
        $(".img").attr("src",tupian);
        $(".url_pra").html(name)
    })


</script>
</html>